<?php
##查看即时消息
require_once 'global.php';
//$news=array('news'=>'定制你的专属车票');
//echo to_json($news);
$conn=  db_connect();
$sql="select * from instant_news";
$result=  mysqli_query($conn, $sql) or die_db_error($conn);
$num=  mysqli_num_rows($result);
//echo $num;
while($row= mysqli_fetch_assoc($result)){
    $rows[]=$row;
}

